package com.shop.zkmall.jwt;

import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;

@AutoConfiguration
@EnableConfigurationProperties(SecurityProperties.class)
public class JwtAutoConfiguration {

    @Bean
    public TokenProvider tokenProvider(){
        return new TokenProvider();
    }

}
